/*
 * BlurFilterGui.h
 *
 *  Created on: 15 Nov 2012
 *      Author: hopey
 */

#ifndef BLURFILTERGUI_H_
#define BLURFILTERGUI_H_
#include "FilterGui.h"
namespace openlid {

class BlurFilterGui : public FilterGui, public Retainer<Widget>{
public:
	BlurFilterGui();
	~BlurFilterGui();
	filter_ptr get_filter() {return filter;}
	shared_ptr<Widget> get_controls() ;

	String get_title();
private:
	shared_ptr<BlurFilter> filter;
//	shared_ptr<Scale> slider;
	const int DEFAULT_RADIUS = 5, MIN_RADIUS = 0, MAX_RADIUS = 50;
	bool on_slider_changed(ScrollType scroll, double new_value);
};

} /* namespace openlid */
#endif /* BLURFILTERGUI_H_ */
